package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 
 * </p>
 *
 * @author wang
 * @since 2022-03-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysCourse extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String courseName;

    private String courseId;

    private Long school;

    @TableField(exist=false)
    private String schoolName;

    @TableField(exist=false)
    private String teacher;

    private Integer credit;

    private Integer hour;

    private String teacherId;

    private String intro;

    private Long volume;

    private Long type;  //是否为通选课

    private Integer statu;

    private Long target;

    private Long currentNum;

    @TableField(exist = false)
    private Map<Long,String> time;



    @TableField(exist = false)
    private SysLocation location;

    @TableField(exist =false)
    private Map<Long,String> semester;

    @TableField(exist=false)
    private Map<Long,String>  major;

    @TableField(exist = false)
    private Integer pass;

    @TableField(exist = false)
    private List<Long> timeId;

    @TableField(exist = false)
    private Long locationId;

    @TableField(exist = false)
    private List<Long> majorId;

    @TableField(exist = false)
    private List<Long> semesterId;

}
